﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="rptOutletCoveredPerChannelList.aspx.cs" Inherits="KPIReport.Web.Reports.rptOutletCoveredPerChannelList" %>

<%--<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            $("#btnBrowseSalesman").button({ icons: { primary: "ui-icon-folder-open"} });
            $("#btnBrowseBrand").button({ icons: { primary: "ui-icon-folder-open"} });
            $("#btnBrowseProduct").button({ icons: { primary: "ui-icon-folder-open"} });
        });
    
    </script>
    <script type="text/javascript">

        function OpenForm(ctl) {

            var formUrl = "";
            if (ctl == "salesman") {
                formUrl = '<%= ResolveUrl("~/forms/administration/catalog/SalesmanForm.aspx") %>';

                $('#dialog').load(formUrl + '?menuId=' + '<%= base.MenuID %>' + '&Status=' + status).dialog({ autoOpen: false, modal: true, width: 600, height: 430, title: 'Browse Salesman' });
                $("#dialog").dialog('open');
            }
            else if (ctl == "product") {
                formUrl = '<%= ResolveUrl("~/forms/administration/catalog/ProductForm.aspx") %>';

                $('#dialog').load(formUrl + '?menuId=' + '<%= base.MenuID %>' + '&Status=' + status).dialog({ autoOpen: false, modal: true, width: 600, height: 430, title: 'Browse Product' });
                $("#dialog").dialog('open');
            }




        }

    </script>
    <div class="side-content fr">
        <div class="content-module">
            <div class="content-module-heading cf">
                <h3 class="fl">
                    Laporan Outlet Covered Per Channel</h3>
                <span class="fr expand-collapse-text">Click to collapse</span> <span class="fr expand-collapse-text initial-expand">
                    Click to expand</span>
            </div>
            <!-- end content-module-heading -->
            <!-- end content-module-main -->
        </div>
        <table border="0">
            <tr>
                <td>
                    Salesman
                </td>
                <td style="padding-left: 20px">
                    :
                </td>
                <td>
                    <asp:TextBox ID="txtSalesman" runat="server" ReadOnly="true" Width="300"></asp:TextBox>&nbsp;
                    <button id="btnBrowseSalesman" onclick="OpenForm('salesman');" type="button">
                        Browse</button>
                </td>
            </tr>
            <tr>
                <td>
                    Bulan - Tahun
                </td>
                <td style="padding-left: 20px">
                    :
                </td>
                <td >
                    <asp:DropDownList ID="ddlBulan" runat="server">
                        <asp:ListItem Text="Januari" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Pebruari" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Maret" Value="3"></asp:ListItem>
                        <asp:ListItem Text="April" Value="4"></asp:ListItem>
                        <asp:ListItem Text="Mei" Value="5"></asp:ListItem>
                        <asp:ListItem Text="Juni" Value="6"></asp:ListItem>
                        <asp:ListItem Text="Juli" Value="7"></asp:ListItem>
                        <asp:ListItem Text="Agustus" Value="8"></asp:ListItem>
                        <asp:ListItem Text="September" Value="9"></asp:ListItem>
                        <asp:ListItem Text="Oktober" Value="10"></asp:ListItem>
                        <asp:ListItem Text="November" Value="11"></asp:ListItem>
                        <asp:ListItem Text="Desember" Value="12"></asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;
                    <asp:TextBox ID="txtDateEnd" runat="server" Width="100"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Top Ke
                </td>
                <td style="padding-left: 20px;">
                    :
                </td>
                <td>
                    <asp:DropDownList ID="ddlTop" runat="server" Width="100">
                        <asp:ListItem Text="10" Value="1"></asp:ListItem>
                        <asp:ListItem Text="20" Value="2"></asp:ListItem>
                        <asp:ListItem Text="30" Value="3"></asp:ListItem>
                        <asp:ListItem Text="40" Value="4"></asp:ListItem>
                        <asp:ListItem Text="50" Value="5"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Type Transaksi
                </td>
                <td style="padding-left: 20px">
                    :
                </td>
                <td>
                    <asp:DropDownList ID="ddlType" runat="server" Width="200">
                        <asp:ListItem Text="Gross Amount" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Net Sales" Value="2"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <table id="table" class="scroll" cellpadding="0" cellspacing="0">
        </table>
        <div id="pager" class="scroll">
        </div>
        <br />
        <div id="dialog" title="Default dialog">
        </div>
    </div>
    <%--<div>
        <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="false" EnableParameterPrompt="False"
            HasCrystalLogo="False" HasToggleGroupTreeButton="False" HasToggleParameterPanelButton="False"
            PrintMode="ActiveX" />

            <asp:Button ID="btnViewReport" Text="View Report" runat="server" />
    </div>--%>
</asp:Content>
